<template>
    <div class="empty-box">
        <van-empty :description="description" :image="image"/>
    </div>
</template>

<script>
    export default {
        props: {
            description: {
                type: String,
                default: '暂无数据'
            },
            image: {
                type: String,
                default: 'https://tsl.museum-edu.cn/tslwximg/img/empty.png'
            }
        },
    }
</script>

<style scoped lang="scss">
    .empty-box {
        margin: 300px 0 0 0;

        /deep/ .van-empty {
            .van-empty__image {
                width: 216px;
                height: 216px;
            }
        }
    }
</style>